package com.moji.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.moji.common.entity.MyPage;
import com.moji.entity.MjBillAddress;
import com.moji.entity.dto.QueryBillAddressDto;

/**
 * <p>
 * 发票地址表 服务类
 * </p>
 *
 * @author ccl
 * @since 2024-08-21
 */
public interface MjBillAddressService extends IService<MjBillAddress> {

    /** 分页查询 **/
    MyPage<MjBillAddress> queryByPage(QueryBillAddressDto dto);

    /** 删除 **/
    boolean delete(Long id);

    /** 新增 **/
    boolean add(MjBillAddress mjBillAddress);

    /** 编辑 **/
    boolean edit(MjBillAddress mjBillAddress);

    /** 详情 **/
    MjBillAddress detail(Long id);
}
